<html>
<head><title>Panic Menu</title>
<link rel="stylesheet" type="text/css" href="css/Default.css" />
<Script language="javascript" src="data/password.js"></script>
<Script language="javascript" src="exec/login.js"></script>
<Script language="javascript" src="Panic/ENGAGE.js"></script>
<noscript>
location.href="noscript.html";
</noscript>
<SCRIPT LANGUAGE="JavaScript">

//see if they are logged in.
	window.onload = redir(0);
	
//name of cookie: 'eomdmf'
</SCRIPT>

</HEAD>
<body >
<fieldset style="border-color:bfae20">
	<font size="3.5" face="Arial">
	<b>
	Panic Menu
	</b>
	</font>
<center>
<table border="0">
<tr>
<td>
<center>

	<!-- scroll down menu for panic type -->
	<FORM METHOD="LINK" ACTION="Panic/Panic_TEMPLATE.php">
	<SELECT NAME="Panic">
	<option value="0">Select an emergency...</option>
	<option value="1">Fire</option>
	<option value="2">Lock Down</option>
	<option value="3">Secure School</option>
	<option value="4">Custom 1</option>
	<option value="5">Custom 2</option>
	</SELECT>
	<br><br>
	<input id="subbut" type="submit" value="Engage Panic Mode">
	</form>
	
	<FORM METHOD="LINK" ACTION="Panic/Panic_E.php">
	<INPUT TYPE="submit" VALUE="Edit Messages">
	</FORM>
	
	<FORM METHOD="LINK" ACTION="Panic/Panic_Off.php">
	<INPUT TYPE="submit" VALUE="Panic off">
	</FORM>
	
	<FORM METHOD="LINK" ACTION="LoggedIn.php">
	<INPUT TYPE="submit" VALUE="Main Menu">
	</FORM>
	
	<FORM METHOD="LINK" ACTION="index.html">
	<INPUT TYPE="submit" VALUE="Home Page">
	</FORM>
Panic Currently: <div id="PanicOnOff" name="PanicOnOff">Off</div>
</center>	
</td>
</tr>
</table>
</center>

</fieldset>

<SCRIPT LANGUAGE="JavaScript">
	//change the text in the PanicOnOff tag, to show user if panic is on or off.
	if(Panic_Mode)
		{
			document.getElementById('PanicOnOff').innerHTML = "On";	
		}
</SCRIPT>

<center>
<img src= "media/Gold_Lion.jpg"/>
</center>

</body>
</html>
